import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule } from '@angular/router';
import { GanttComponent } from './gantt-chart.component';
import { FormsModule } from '@angular/forms';
import { NgZorroAntdModule } from 'ng-zorro-antd';
// import { NgZzjModule } from '../../components/ng-zzj.module';
import { ToolBarComponent } from './tool-bar/tool-bar.component';
import { TaskBoxComponent } from './task-box/task-box.component';
import { GanttBoxComponent } from './gantt-box/gantt-box.component';
import { GanttApi } from '../../services/gantt-chart/gantt.api';
import { GanttHelperService } from '../../services/gantt-chart/gantt-helper.service';
import { GanttRequestService } from '../../services/gantt-chart/gantt-request.service';
import { PipeModule } from '../../common/pipe/pipe.module';
import { ResizeBarComponent } from '../resize-bar/resize-bar.component';
// import { GanttComponent } from './gantt-chart.component';
// import { BuildLogService } from '../../services/project/build-logs/build-log.service';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    NgZorroAntdModule,
    // NgZzjModule,
    PipeModule,
    // RouterModule.forChild([{ path: "", component: GanttComponent }])
  ],
  exports: [ResizeBarComponent, GanttComponent],
  declarations: [GanttComponent, ToolBarComponent, TaskBoxComponent, GanttBoxComponent, ResizeBarComponent],
  providers: [GanttApi, GanttHelperService, GanttRequestService]
})
export class GanttChartModule { }
